![]() |
PBShareAsync |
||||
Header: | Files.h | Carbon status: | Supported | |
Establishes a local volume or directory as a share point.
OSErr PBShareAsync ( HParmBlkPtr paramBlock );
A pointer to a basic HFS parameter block.
A result code.
The relevant fields of the parameter block are:
On input, a pointer to a completion function.
On output, the result code of the function.
On input, a pointer to a pathname.
On input, a volume specification. This field can contain a volume reference number, a working directory reference number, a drive number, or 0 for the default volume.
On input, a directory ID. If ioNamePtr is NULL, then ioDirID is the directory ID of the directory that is to become a share point. If ioNamePtr points to a partial pathname, ioDirID is the parent directory of the directory to be shared.
The PBShareAsync function makes the directory specified by the ioNamePtr and ioDirID fields a share point.
Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)